package com.yidu.ladder.base.domain;

import java.io.Serializable;

public class AreaVo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2836549951265781316L;
	/**
	 * 区域Id
	 */
	private String areaId;
	/**
	 * 省
	 */
	private String province;
	/**
	 * 市
	 */
	private String city;
	/**
	 * 县（区）
	 */
	private String district;
	/**
	 * 邮编
	 */
	private String postcode;
	/**
	 * 简码
	 */
	private String shortcode;
	/**
	 * 城市编码
	 */
	private String citycode;
	/**
	 * 进港单位
	 */
	private String inboundUnit;
	/**
	 * 出港单位
	 */
	private String departrueUnit;
	/**
	 * 服务区
	 */
	private String serviceArea;
	/**
	 * 不可服务区
	 */
	private String noServiceArea;
	/**
	 * 特殊服务区
	 */
	private String specialArea;
	/**
	 * 是否外网   Y：是，N：不是
	 */
	private String isOuterNet;
	/**
	 * 是否郊区县   Y：是，N：不是
	 */
	private String isSuburban;
	/**
	 * 区域级别
	 */
	private String areaLevel;
	/**
	 * 所属区域
	 */
	private String attrArea;
	/**
	 * 城市级别
	 */
	private String cityLevel;
	/**
	 * 海关口岸
	 */
	private String port;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 状态	Y：可用，N：不可用
	 */
	private String useable;
	
	/**
	 * 页码
	 */
	private Integer page;
	/**
	 * 每页显示数量
	 */
	private Integer limit;
	
	public AreaVo() {
		super();
	}

	public AreaVo(String areaId, String province, String city, String district, String postcode, String shortcode,
			String citycode, String inboundUnit, String departrueUnit, String serviceArea, String noServiceArea,
			String specialArea, String isOuterNet, String isSuburban, String areaLevel, String attrArea,
			String cityLevel, String port, String description, String useable, Integer page, Integer limit) {
		super();
		this.areaId = areaId;
		this.province = province;
		this.city = city;
		this.district = district;
		this.postcode = postcode;
		this.shortcode = shortcode;
		this.citycode = citycode;
		this.inboundUnit = inboundUnit;
		this.departrueUnit = departrueUnit;
		this.serviceArea = serviceArea;
		this.noServiceArea = noServiceArea;
		this.specialArea = specialArea;
		this.isOuterNet = isOuterNet;
		this.isSuburban = isSuburban;
		this.areaLevel = areaLevel;
		this.attrArea = attrArea;
		this.cityLevel = cityLevel;
		this.port = port;
		this.description = description;
		this.useable = useable;
		this.page = page;
		this.limit = limit;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getShortcode() {
		return shortcode;
	}

	public void setShortcode(String shortcode) {
		this.shortcode = shortcode;
	}

	public String getCitycode() {
		return citycode;
	}

	public void setCitycode(String citycode) {
		this.citycode = citycode;
	}

	public String getInboundUnit() {
		return inboundUnit;
	}

	public void setInboundUnit(String inboundUnit) {
		this.inboundUnit = inboundUnit;
	}

	public String getDepartrueUnit() {
		return departrueUnit;
	}

	public void setDepartrueUnit(String departrueUnit) {
		this.departrueUnit = departrueUnit;
	}

	public String getServiceArea() {
		return serviceArea;
	}

	public void setServiceArea(String serviceArea) {
		this.serviceArea = serviceArea;
	}

	public String getNoServiceArea() {
		return noServiceArea;
	}

	public void setNoServiceArea(String noServiceArea) {
		this.noServiceArea = noServiceArea;
	}

	public String getSpecialArea() {
		return specialArea;
	}

	public void setSpecialArea(String specialArea) {
		this.specialArea = specialArea;
	}

	public String getIsOuterNet() {
		return isOuterNet;
	}

	public void setIsOuterNet(String isOuterNet) {
		this.isOuterNet = isOuterNet;
	}

	public String getIsSuburban() {
		return isSuburban;
	}

	public void setIsSuburban(String isSuburban) {
		this.isSuburban = isSuburban;
	}

	public String getAreaLevel() {
		return areaLevel;
	}

	public void setAreaLevel(String areaLevel) {
		this.areaLevel = areaLevel;
	}

	public String getAttrArea() {
		return attrArea;
	}

	public void setAttrArea(String attrArea) {
		this.attrArea = attrArea;
	}

	public String getCityLevel() {
		return cityLevel;
	}

	public void setCityLevel(String cityLevel) {
		this.cityLevel = cityLevel;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUseable() {
		return useable;
	}

	public void setUseable(String useable) {
		this.useable = useable;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((areaId == null) ? 0 : areaId.hashCode());
		result = prime * result + ((areaLevel == null) ? 0 : areaLevel.hashCode());
		result = prime * result + ((attrArea == null) ? 0 : attrArea.hashCode());
		result = prime * result + ((city == null) ? 0 : city.hashCode());
		result = prime * result + ((cityLevel == null) ? 0 : cityLevel.hashCode());
		result = prime * result + ((citycode == null) ? 0 : citycode.hashCode());
		result = prime * result + ((departrueUnit == null) ? 0 : departrueUnit.hashCode());
		result = prime * result + ((description == null) ? 0 : description.hashCode());
		result = prime * result + ((district == null) ? 0 : district.hashCode());
		result = prime * result + ((inboundUnit == null) ? 0 : inboundUnit.hashCode());
		result = prime * result + ((isOuterNet == null) ? 0 : isOuterNet.hashCode());
		result = prime * result + ((isSuburban == null) ? 0 : isSuburban.hashCode());
		result = prime * result + ((limit == null) ? 0 : limit.hashCode());
		result = prime * result + ((noServiceArea == null) ? 0 : noServiceArea.hashCode());
		result = prime * result + ((page == null) ? 0 : page.hashCode());
		result = prime * result + ((port == null) ? 0 : port.hashCode());
		result = prime * result + ((postcode == null) ? 0 : postcode.hashCode());
		result = prime * result + ((province == null) ? 0 : province.hashCode());
		result = prime * result + ((serviceArea == null) ? 0 : serviceArea.hashCode());
		result = prime * result + ((shortcode == null) ? 0 : shortcode.hashCode());
		result = prime * result + ((specialArea == null) ? 0 : specialArea.hashCode());
		result = prime * result + ((useable == null) ? 0 : useable.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AreaVo other = (AreaVo) obj;
		if (areaId == null) {
			if (other.areaId != null)
				return false;
		} else if (!areaId.equals(other.areaId))
			return false;
		if (areaLevel == null) {
			if (other.areaLevel != null)
				return false;
		} else if (!areaLevel.equals(other.areaLevel))
			return false;
		if (attrArea == null) {
			if (other.attrArea != null)
				return false;
		} else if (!attrArea.equals(other.attrArea))
			return false;
		if (city == null) {
			if (other.city != null)
				return false;
		} else if (!city.equals(other.city))
			return false;
		if (cityLevel == null) {
			if (other.cityLevel != null)
				return false;
		} else if (!cityLevel.equals(other.cityLevel))
			return false;
		if (citycode == null) {
			if (other.citycode != null)
				return false;
		} else if (!citycode.equals(other.citycode))
			return false;
		if (departrueUnit == null) {
			if (other.departrueUnit != null)
				return false;
		} else if (!departrueUnit.equals(other.departrueUnit))
			return false;
		if (description == null) {
			if (other.description != null)
				return false;
		} else if (!description.equals(other.description))
			return false;
		if (district == null) {
			if (other.district != null)
				return false;
		} else if (!district.equals(other.district))
			return false;
		if (inboundUnit == null) {
			if (other.inboundUnit != null)
				return false;
		} else if (!inboundUnit.equals(other.inboundUnit))
			return false;
		if (isOuterNet == null) {
			if (other.isOuterNet != null)
				return false;
		} else if (!isOuterNet.equals(other.isOuterNet))
			return false;
		if (isSuburban == null) {
			if (other.isSuburban != null)
				return false;
		} else if (!isSuburban.equals(other.isSuburban))
			return false;
		if (limit == null) {
			if (other.limit != null)
				return false;
		} else if (!limit.equals(other.limit))
			return false;
		if (noServiceArea == null) {
			if (other.noServiceArea != null)
				return false;
		} else if (!noServiceArea.equals(other.noServiceArea))
			return false;
		if (page == null) {
			if (other.page != null)
				return false;
		} else if (!page.equals(other.page))
			return false;
		if (port == null) {
			if (other.port != null)
				return false;
		} else if (!port.equals(other.port))
			return false;
		if (postcode == null) {
			if (other.postcode != null)
				return false;
		} else if (!postcode.equals(other.postcode))
			return false;
		if (province == null) {
			if (other.province != null)
				return false;
		} else if (!province.equals(other.province))
			return false;
		if (serviceArea == null) {
			if (other.serviceArea != null)
				return false;
		} else if (!serviceArea.equals(other.serviceArea))
			return false;
		if (shortcode == null) {
			if (other.shortcode != null)
				return false;
		} else if (!shortcode.equals(other.shortcode))
			return false;
		if (specialArea == null) {
			if (other.specialArea != null)
				return false;
		} else if (!specialArea.equals(other.specialArea))
			return false;
		if (useable == null) {
			if (other.useable != null)
				return false;
		} else if (!useable.equals(other.useable))
			return false;
		return true;
	}

	@Override
	public String toString() {
		return "AreaVo [areaId=" + areaId + ", province=" + province + ", city=" + city + ", district=" + district
				+ ", postcode=" + postcode + ", shortcode=" + shortcode + ", citycode=" + citycode + ", inboundUnit="
				+ inboundUnit + ", departrueUnit=" + departrueUnit + ", serviceArea=" + serviceArea + ", noServiceArea="
				+ noServiceArea + ", specialArea=" + specialArea + ", isOuterNet=" + isOuterNet + ", isSuburban="
				+ isSuburban + ", areaLevel=" + areaLevel + ", attrArea=" + attrArea + ", cityLevel=" + cityLevel
				+ ", port=" + port + ", description=" + description + ", useable=" + useable + ", page=" + page
				+ ", limit=" + limit + "]";
	}
	
	
	
}
